#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    cout<<"Vvedite chislo: ";
    int i;
    cin>>i;
    if(i>=0)
    i++;
    else
    i-=2;
    cout<<i;
    return a.exec();
}
